package com.mckillion.Exercise11;

import java.util.Observable;
import java.util.Observer;

public class SecurityUI implements Observer {
	
	private int num;
	
	@Override
	public void update(Observable o, Object arg) {
		if (arg instanceof Integer){
			num = (Integer) arg;
			System.out.println("SecurityUI Updated (Observing Number of Participants): " +
					"Number Changed to " + num);
		}
	}
}
